
import style from "./style.module.scss"
const { ToastBox } = style
const Index = (props:any) => {  
  const img = props?.img
  const name1 = props?.name.name1
  const name2 = props?.name.name2  

  return <div className={ToastBox}>
    <div style={{display:"flex",alignItems:"center"}}>
      <img src={img} alt="" />
      <div><span>{name1}</span> <b>{name2}</b></div>
    </div>
  </div>
}
export default Index